home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17976 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.0 KB

  1. Path: news.daimi.aau.dk!pjunold
  2. From: pjunold@daimi.aau.dk (Peter Joachim Unold)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: Re: Young programmers read me.
  5. Date: 18 Apr 1996 09:17:09 GMT
  6. Organization: DAIMI, Computer Science Dept. at Aarhus University
  7. Message-ID: <4l51al$fb6@gjallar.daimi.aau.dk>
  8. References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <pnoguchi-0404962135210001@pnoguchi.his.com> <4kv046$lg4@ionews.ionet.net>
  9. NNTP-Posting-Host: gallium.daimi.aau.dk
  10.  
  11. Thus spake tconiam@ionet.net (Todd Coniam):
  12.  
  13. [cut of someone's praise of c++]
  14. >-- 
  15. >While experience in the commercial world has proven time and time again that 
  16. >programmers are not capable of capturing most bugs in the program when using 
  17. >C/C++ until well into the development.  C/C++ is inherently one of the most 
  18. >error prone languages around.  Dangling pointers and memory leaks are all 
  19. >slip into code much too easy, and are horrible to try and track down.  The 
  20. >folks at Purity Software(C) are making money hand over fist selling products 
  21. >that help with just these problems.  Perhaps you've heard of 'Purify'?
  22.  
  23. Sure we have. While dangling pointers can be a hell to find, I never understood
  24. why memory leaks should be that horrible. Especially not in a language like
  25. C++ where resource allocating/freeing can be dealt with in such a nice way.
  26. (see Stroustrup's 'the c++ programming language'). 
  27. Also providing your own global new/delete operators, which takes extra debug
  28. arguments is quite easy.
  29.  
  30. >If C++ is soo great why do most major developments severly limit the features 
  31. >that they allow used in the project.  Templates and multiple inheritance 
  32.  
  33. Huh? What major C++ projects doesn't use templates? I can understand why
  34. anyone wouldn't use the most advanced new features, but banning good old
  35. ARM defined templates is just stupidity. As for MI, it depends entirely 
  36. on your design, wether you use it or not.
  37.  
  38. >(C++'s _great_ features) are usually the first to go.  Wouldn't you rather 
  39. >have the compiler tell you that your code is crap before you try and run it?
  40.  
  41. Sorry? C++ is a static checked language.
  42.  
  43. >Try Ada 95, all the benefits of easy to understand syntax (you can read 
  44. >tommorow or next year!) with all the great object orientated features you want 
  45. >along with full multi-tasking in the language!
  46. >Check out the web sites below and see for yourself.  You won't be sorry.
  47.  
  48. OK thanks. We'll all check it. But you'd be a better advocate of Ada 95 if you
  49. provided us with some arguments of why Ada 95 is better, instead of stupid
  50. c++ flames.
  51.  
  52. I've substituted your Ada 95 URL with an URL to the latest public ansi c++ draft.
  53. There you can learn some more about the language before you flame the next time.
  54.  
  55.  best regards
  56.    peter unold - pjunold@daimi.aau.dk
  57.  
  58. c++ draft: http://www.cygnus.com/misc/wp/draft/
  59.